package com.campus.pojos.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("client_article")
public class ClientArticle {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private Long categoryId;
    private Long userId;
    private String title;
    private String contentContext;
    private String contentImage;
    private String contentVideo;
    private Integer status;
    private Long love;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

}
